namespace Apps.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("CONTRACT_QUALITY_CHECK")]
    public partial class CONTRACT_QUALITY_CHECK
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public CONTRACT_QUALITY_CHECK()
        {
            CONTRACT_QUALITY_LIST = new HashSet<CONTRACT_QUALITY_LIST>();
        }

        [Key]
        [StringLength(40)]
        public string QUALITYCHECK_ID { get; set; }

        [StringLength(40)]
        public string CONTRACT_ID { get; set; }

        public short? PRICINGKIND { get; set; }

        public bool? SEGMENT { get; set; }

        public short? BASIS_TYPE { get; set; }

        [StringLength(200)]
        public string PRICINGMARK { get; set; }

        public virtual CONTRACT_INFO CONTRACT_INFO { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<CONTRACT_QUALITY_LIST> CONTRACT_QUALITY_LIST { get; set; }
    }
}
